package com.cty.mapper;

import com.cty.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Auther: cty
 * @Date: 2020/3/5 22:06
 * @Description: mybatis绑定接口
 * @version: 1.0
 */
public interface UserMapper {
    // 查询全部数据
    @Select("select * from user")
    List<User> selAll();
}
